<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="/WEB-INF/tlds/hdiv-c.tld"%>
<%@ taglib prefix="form" uri="/WEB-INF/tlds/hdiv-spring-form-3_0_4.tld"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="/WEB-INF/tlds/hdiv-spring.tld" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>
<style type="text/css">
.ui-accordion .ui-accordion-content{ overflow:visible !important; }
.jquery-dialog{
  overflow-y: auto;
  height: 300px;
} 
</style>

<%@ page contentType="text/html;charset=windows-1252"%>
<script type="text/javascript">
    var jsonrpc = new JSONRpcClient("getJSON.html");
    $(document).ready(function(){
        $("#boveDenoTable").hide();
        $("#boveDenoMessage").hide();
        $('.ui-state-default').hover(
        function(){ $(this).addClass('ui-state-hover'); },
        function(){ $(this).removeClass('ui-state-hover'); }
        );
        $('.ui-state-default').click(function(){ $("#accion").val("regresar");$("form").submit(); });         
        $("#toogleEnv").click(function(){
            $("#tableEnv").toggle();
            if ( $('#tableEnv').is(':visible') ){
                $("#toogleEnv").removeClass("ui-icon-triangle-1-e");
                $("#toogleEnv").addClass("ui-icon-triangle-1-s");
            }else{
                $("#toogleEnv").removeClass("ui-icon-triangle-1-s");
                $("#toogleEnv").addClass("ui-icon-triangle-1-e");
            }
        });
        $("#toogleAnom").click(function(){
            $("#tableAnom").toggle();
            if ( $('#tableAnom').is(':visible') ){
                $("#toogleAnom").removeClass("ui-icon-triangle-1-e");
                $("#toogleAnom").addClass("ui-icon-triangle-1-s");
            }
            else{
                $("#toogleAnom").removeClass("ui-icon-triangle-1-s");
                $("#toogleAnom").addClass("ui-icon-triangle-1-e");
            }
        });
        $("#regresar").click(function(){
            $("#accion").val("regresar");
            $("form").submit();
        });
        $("#csDetaBove").dialog({
                            modal: true,
                            width: 700,
                            autoOpen: false,
                            resizable: false,
                            buttons: {
                                    Cerrar: function() {
                                        $( this ).dialog( "close" );
                                    }
                            }
        });
        $( "#csDetaBoveAccordion" ).accordion({
            autoHeight: false,
            height: 50,
            animated: false
        });
        $(".verBoveDeta").click(function(i){            
            $("#csDetaBove").dialog("open");
            tipDocuCmpb = $(this).attr("tipDocuCmpb");
            codSeriCmpb = $(this).attr("codSeriCmpb");
            numCmpb = $(this).attr("numCmpb");
            codBove = $(this).attr("codBove");
            codSucuHtb = $(this).attr("codSucuHtb");
            codClieCnta = $(this).attr("codClieCnta");
            
            desBove = $(this).attr("desBove");
            montDiceCont = $(this).attr("montDiceCont");
            monValoProd = $(this).attr("monValoProd");
            monDife = $(this).attr("monDife");
            
            jsonrpc.jsonService.putListBoveDetasOnSession(tipDocuCmpb,codSeriCmpb,numCmpb,codBove,codSucuHtb,codClieCnta);
            var listBoveDeta = jsonrpc.jsonService.getListBoveDeta();
            alert(listBoveDeta.length);
            if(listBoveDeta.length==0)
                $("#boveDenoMessage").hide();
            var listBoveAbon = jsonrpc.jsonService.getListBoveAbon();
            var listBoveMyorCtia = jsonrpc.jsonService.getListBoveMyorCtia();
            $("#desBove").html(desBove);
            $("#montDiceCont").html(montDiceCont);
            $("#monValoProd").html(monValoProd);
            $("#monDife").html(monDife);
            $.get("<c:url value='mostrarHWF3006.html'/>",{accion:"showBoveDeta"}, function(responseText, status, xmlHttpRequest){
                    $('#boveDetaDiv').html($('#boveDetaDiv', responseText).html());
                    $('#boveAbonDiv').html($('#boveAbonDiv', responseText).html());
                    $('#boveMyorCtiaDiv').html($('#boveMyorCtiaDiv', responseText).html());
                    $("#boveDetaTable").tableScroll();
                }
            )
            $('span.pagelinks>a, table#dispTable>thead>tr>th>a').live('click', function(){
                $.get($(this).attr('href'), function(responseText, status, xmlHttpRequest){
                        $('.its').html($('.its', responseText).html());
                    }
                )
                return false;
            })
        });
    });
function showBoveDeta(tipDocuCmpb,codSeriCmpb,numCmpb,codBove,codSucuHtb,codClieCnta,desBove,montDiceCont,monValoProd,monDife,tipRcto){    
    $("#csDetaBove").dialog("open");
    jsonrpc.jsonService.putListBoveDetasOnSession(tipDocuCmpb,codSeriCmpb,numCmpb,codBove,codSucuHtb,codClieCnta);
    var listBoveDeta = jsonrpc.jsonService.getListBoveDeta();
    var listBoveAbon = jsonrpc.jsonService.getListBoveAbon();
    var listBoveMyorCtia = jsonrpc.jsonService.getListBoveMyorCtia();
    var listBoveDetaLength = listBoveDeta.length;
    if(listBoveDetaLength>0&&tipRcto!=8){
        $("#boveDenoMessage").show();
    }
    $("#desBove").html(desBove);
    $("#montDiceCont").html(montDiceCont);
    $("#monValoProd").html(monValoProd);
    $("#monDife").html(monDife);
    $.get("<c:url value='mostrarHWF3006.html'/>",{accion:"showBoveDeta"}, function(responseText, status, xmlHttpRequest){
            $('#boveDetaDiv').html($('#boveDetaDiv', responseText).html());
            $('#boveAbonDiv').html($('#boveAbonDiv', responseText).html());
            $('#boveMyorCtiaDiv').html($('#boveMyorCtiaDiv', responseText).html());
            $("#boveDetaTable").tableScroll();
            $("#boveDetaTable tr").click(function(i){                                
                $("#boveDenoTable").find("tbody").html("");                
                nseSecu2 = $(this).children("td:first-child").text();
                nseSecu = $(this).children("td:first-child").children("div:first-child").attr("numSecu");
                nombreCodCant= $(this).children("td:first-child").next().text();
                if(tipRcto!=8){
                    $("#boveDenoTable").show();                    
                    $('#boveDenoTableTituloDiv').html("Seleccionado: "+nombreCodCant);
                    var listBoveDeno = jsonrpc.jsonService.getListBoveDeno(tipDocuCmpb,codSeriCmpb,numCmpb,codBove,codSucuHtb,nseSecu);
                    var listSize = listBoveDeno.length;
                    for(var i=0;i<listSize;i++){
                        $("#boveDenoTable").find("tbody")
                        .append($('<tr>')
                            .append($('<td>')
                            .append(listBoveDeno[i].desTipMone)                        
                            )
                            .append($('<td>')
                              .append(listBoveDeno[i].canValoNomi)                        
                            )
                            .append($('<td align="right">')
                              .append(new NumberFormat(listBoveDeno[i].monDeno).toFormatted())                        
                            )
                            .append($('<td align="right">')
                              .append(listBoveDeno[i].canPiez)
                            )
                      );
                    }
                }
            });
        }
    )
    $('span.pagelinks>a, table#dispTable>thead>tr>th>a').live('click', function(){
        $.get($(this).attr('href'), function(responseText, status, xmlHttpRequest){
                $('.its').html($('.its', responseText).html());
            }
        )
        return false;
    });
    
}
function cursor_wait() {
    document.body.style.cursor = 'wait';
}
function show_loading(){  
    var loadingAnim = document.getElementById('loading_mostrar');  
    loadingAnim.innerHTML = '<img src="imagenes/logoProcesandoDown.gif" width=' + xx_d + 'height=' + yy_d + 'alt="Procesando" />';  
    loadingAnim.style.display = 'block';      
}

/*function openActa(idCmpb){
    winwidth='450';
    winheight='920';    
    var url = '<c:url value="mostrarHWF3003.html"/>&accion=mostrarActa&formulario=HMR3003a&idCmpb='+idCmpb;
    //console.log(url);
    window.open(url, 'window1', 'location=0,directories=0,status=0,scrollbars=1,resizable=1,width='+winwidth+',height='+winheight);
}*/

function openActa(idCmpb, winheight,winwidth)
{
    winwidth='450';
    winheight='920';
    window.open('about:blank', 'window1', 'location=0,directories=0,status=0,scrollbars=1,resizable=1,width='+winwidth+',height='+winheight);
    var accion = 'mostrarActa';
    var target = 'window1';        
    document.forms[0].formulario.value = 'HMR3003a';    
    document.forms[0].idCmpb.value = idCmpb;
    document.forms[0].target = target;        
    document.forms[0].accion.value = accion;
    document.forms[0].submit();
    document.forms[0].target = "_self";
}  
function showBoveDeta(tipDocuCmpb,codSeriCmpb,numCmpb,codBove,codSucuHtb,codClieCnta,desBove,montDiceCont,monValoProd,monDife,tipRcto){    
    $("#csDetaBove").dialog("open");
    jsonrpc.jsonService.putListBoveDetasOnSession(tipDocuCmpb,codSeriCmpb,numCmpb,codBove,codSucuHtb,codClieCnta);
    var listBoveDeta = jsonrpc.jsonService.getListBoveDeta();
    var listBoveAbon = jsonrpc.jsonService.getListBoveAbon();
    var listBoveMyorCtia = jsonrpc.jsonService.getListBoveMyorCtia();
    var listBoveDetaLength = listBoveDeta.length;
    if(listBoveDetaLength>0&&tipRcto!=8){
        $("#boveDenoMessage").show();
    }
    $("#desBove").html(desBove);
    $("#montDiceCont").html(montDiceCont);
    $("#monValoProd").html(monValoProd);
    $("#monDife").html(monDife);
    $.get("<c:url value='mostrarHWF3006.html'/>",{accion:"showBoveDeta"}, function(responseText, status, xmlHttpRequest){
            $('#boveDetaDiv').html($('#boveDetaDiv', responseText).html());
            $('#boveAbonDiv').html($('#boveAbonDiv', responseText).html());
            $('#boveMyorCtiaDiv').html($('#boveMyorCtiaDiv', responseText).html());
            $("#boveDetaTable").tableScroll();
            $("#boveDetaTable tr").click(function(i){                                
                $("#boveDenoTable").find("tbody").html("");                
                nseSecu2 = $(this).children("td:first-child").text();
                nseSecu = $(this).children("td:first-child").children("div:first-child").attr("numSecu");
                nombreCodCant= $(this).children("td:first-child").next().text();
                if(tipRcto!=8){
                    $("#boveDenoTable").show();                    
                    $('#boveDenoTableTituloDiv').html("Seleccionado: "+nombreCodCant);
                    var listBoveDeno = jsonrpc.jsonService.getListBoveDeno(tipDocuCmpb,codSeriCmpb,numCmpb,codBove,codSucuHtb,nseSecu);
                    var listSize = listBoveDeno.length;
                    for(var i=0;i<listSize;i++){
                        $("#boveDenoTable").find("tbody")
                        .append($('<tr>')
                            .append($('<td>')
                            .append(listBoveDeno[i].desTipMone)                        
                            )
                            .append($('<td>')
                              .append(listBoveDeno[i].canValoNomi)                        
                            )
                            .append($('<td align="right">')
                              .append(new NumberFormat(listBoveDeno[i].monDeno).toFormatted())                        
                            )
                            .append($('<td align="right">')
                              .append(listBoveDeno[i].canPiez)
                            )
                      );
                    }
                }
            });
        }
    )
    $('span.pagelinks>a, table#dispTable>thead>tr>th>a').live('click', function(){
        $.get($(this).attr('href'), function(responseText, status, xmlHttpRequest){
                $('.its').html($('.its', responseText).html());
            }
        )
        return false;
    });
    
}
</script>

<style type="text/css">  
<!-- 
#loading_mostrar {display:none;}  
-->
.ui-icon
{
display: inline-block !important;
}
.ui-corner-all {
    border-radius: 4px 4px 4px 4px;
}
span.ui-icon {float: left; margin: 0 4px;}
span.text {float: left; width: 60px;}


.ui-pointer{
    cursor: pointer;
    float: left;
    list-style: none outside none;
    margin: 2px;
    padding: 4px 0;
    position: relative;
}
</style> 
<div id="contenido">
<form:form id="forDeta" modelAttribute="form">


<table id="fullheighttable" width="500" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td align="left" valign="top" class="fondo_contenido padtop16left21">
        <table>
            <tr>
                <td class="verdana11bazul">
                    <ul class="navlist2"><li>COMPROBANTE DE SERVICIO</li></ul>
                </td>
            </tr>
            <tr>
                <td height="20"></td>
            </tr>
            <tr>
                <td>
                    <table class="verdana10bazul">
                        <tr>
                            <th width="200" align="left">Nro:</th>
                            <td width="400">${cs.tipDocuCmpb}-${cs.codSeriCmpb}-${cs.numCmpb}</td>
                            <td width="50" ></td>
                            <th width="200" align="left">Forma de Traslado:</th>
                            <td width="400">${cs.desTipFormTras}</td>
                        </tr>
                        <tr>
                            <th align="left" width="200">Cliente:</th>
                            <td width="400">${cs.nomClie}</td>
                            <td width="50"></td>
                            <th align="left" width="200">Fecha de Operaci&oacute;n:</th>
                            <td width="400">${cs.fecProcAper}</td>
                        </tr>
                        <tr>
                            <th align="left" width="200">Fecha de Emisi&oacute;n:</th>
                            <td width="400">${cs.fecEmis}</td>
                            <td width="50"></td>
                            <th align="left" width="200">Cuenta:</th>
                            <td width="400">${cs.desCnta}</td>
                        </tr>
                        <tr>
                            <th height="21" align="left" width="200">Cliente Cuenta:</th>
                            <td width="400">${cs.nomClieCnta}</td>
                            <td  width="50"></td>
                            <th align="left" width="200">Estado:</th>
                            <td width="400">${cs.desEstDocu}</td>
                        </tr>
                        <tr>
                            <th align="left" width="200">Producto:</th>
                            <td width="400">${cs.desTipProd}</td>
                            <td width="50"></td>
                            <th align="left" width="200">Sucursal:</th>
                            <td width="400">${cs.desSucuHtb}</td>
                        </tr>
                        <c:if test="${cs.numPedi!=null && cs.numPedi!=''}">
                          <tr>
                              <th align="left" width="200">Pedido:</th>
                              <td width="400">${cs.codSeriPedi}-${cs.numPedi}</td>
                          </tr>
                        </c:if>
                        <tr>
                            <td colspan="5" height="20"></td>
                        </tr>
                        <tr> 
                          <td colspan="5" height="20">
				<fieldset><table width="99%" height="127" border="0">
                                            
                                            <c:set var="cantEnv" value="0"/>
                                      <c:forEach items="${cs.listEnv}" var="env">
                                        <c:set var="cantEnv" value="${cantEnv+1}"/>
                                      </c:forEach>
                                  <tr>
                                    <th  align="left" colspan="2" width="180" class="verdana10bazul">Nro Envases : ${cantEnv}</th>
                                  </tr>
                                  <tr>
                                    <td width="10%" height="92"  valign="top"><table width="70" class="its7" id="tableEnv">
                                      <thead>
                                        <tr>
                                          <th height="30">Descripci&oacute;n</th>
                                        </tr>
                                      </thead>
                                      <tbody>
                                        <c:forEach items="${cs.listEnv}" var="env">
                                          <tr>
                                            <td >${env}</td>
                                          </tr>
                                        </c:forEach>
                                      </tbody>
                                    </table></td>
                                    <td width="90%" valign="top"><table width="600" class="its7">
                                      <thead>
                                        <tr>
                                          <th colspan="2" width="380" >Origen </th>
                                          <th colspan="2" width="380" >Destino</th>
                                        </tr>
                                        <tr>
                                            <th >Remitente</th>
                                            <th >Fecha</th>
                                            <th >Destino</th>
                                            <th>Fecha</th>
                                        </tr>
                                      </thead>
                                      <tbody>
                                        <tr>
                                          <td>${cs.desPuntOrig}</td>
                                           <td>${cs.fecOrig}</td>
                                           <td>${cs.desPuntDest}</td>
                                          <td>${cs.fecDest}</td>
                                        </tr>
                                      </tbody>
                                    </table></td>
                                  </tr>
                                  <tr>
                                      <td colspan="5" class="verdana10bazul">B&oacute;veda:</td>
                                  </tr>
                        <tr>
                            <td colspan="5">
                                <table class="its7" width="674" border="0">
                                    <thead>
                                    <tr>
                                        <th>Fec. Contable</th>
                                        <th align="left">B&oacute;veda</th>
                                        <th>U.M.</th>
                                        <th align="left">D. Contener</th>
                                        <th align="left">Sub. Env.</th>
                                        <th align="left">Contiene</th>
                                        <th align="left">Diferencia</th>
                                        <th>Recuento</th>
                                        <th>Sub Rec.</th>
                                        <th align="left">Detalle</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <c:forEach items="${cs.listCServicioDetaBove}" var="csDetaBove">
                                    <tr>
                                        <td>${csDetaBove.fecProcAper}</td>
                                        <td>${csDetaBove.desBove}</td>
                                        <td>${csDetaBove.desTipUnidMone}</td>
                                        <td align="right"><fmt:formatNumber currencySymbol="" type="currency" value="${csDetaBove.montDiceCont}"/></td>
                                        <td align="right">${csDetaBove.canNsubEnva}</td>
                                        <td align="right"><fmt:formatNumber currencySymbol="" type="currency" value="${csDetaBove.montCont}"/></td>
                                        <td align="right"><fmt:formatNumber currencySymbol="" type="currency" value="${csDetaBove.montDife}"/></td>
                                        <td>${csDetaBove.desTipRcto}</td>
                                        <td>${csDetaBove.desSubTipRcto}</td>
                                        <td><a href="#" onclick="showBoveDeta('${cs.tipDocuCmpb}','${cs.codSeriCmpb}','${cs.numCmpb}','${csDetaBove.codBove}','${cs.codSucuHtb}','${cs.codClieCnta}','${csDetaBove.desBove}','<fmt:formatNumber currencySymbol="" type="currency" value="${csDetaBove.montDiceCont}"/>','<fmt:formatNumber currencySymbol="" type="currency" value="${csDetaBove.montCont}"/>','<fmt:formatNumber currencySymbol="" type="currency" value="${csDetaBove.montDife}"/>','${csDetaBove.tipRcto}');">Ver</a></td>
                                    </tr>
                                    </c:forEach>
                                    </tbody>
                              </table>
                            </td>
                        </tr>
                    </table>
		</fieldset>
            </td>
        </tr>
                        
                        <tr>
                            <td colspan="5">
                                <table>
                                    <tr>
                                        <td>                                        </td>
                                        <td width="20"></td>
                                        <td>                                        </td>
                                    </tr>
                                </table>                            </td>
                        </tr>
                        
                      
                        
                        <tr>
                            <td colspan="4" align="right">
                            <%-- ="${cs.indRecuRuta}" --%>
                            <c:set var="varindRecuRuta" value="unchecked"/>
                            <c:if test="${cs.indRecuRuta}">
                                <c:set var="varindRecuRuta" value="checked"/>
                            </c:if>
                                <!--
                                <input type="checkbox" ${varindRecuRuta} disabled="disabled"/> Recuento en Ruta                                
                                -->                            </td>
                        </tr>
                        <tr>
                            <td colspan="5" align="left">                            </td>
                        </tr>
                        <tr>
                            <td colspan="5" height="20">
                                <table class="verdana10bazul">                                    
                                    <tr valign="center">
                                        <th width="24" align="left"><span id="toogleAnom" class="ui-icon ui-icon-triangle-1-e"/></th>
                                        <th width="126" align="left">Anomal&iacute;as:  <%-- mi estado  : ${cs.estDocuActa}--%><%--Estado: A${cs.estDocu}A--%></th>
                                      
                                            <c:if test="${cs.estDocuActa != '0' }">
                                            <td width="215">${cs.codSeriActa}-${cs.numActa}</td>
                                            <td width="79"><a href="#" class="verdana10negro" onclick="openActa('${cs.codSeriCmpb}-${cs.tipDocuCmpb}-${cs.numCmpb}')">Ver Acta</a></td>
                                            </c:if>
                                   
                                        <c:if test="${empty cs.listActaBean}">
                                        <td width="1077">No tiene Acta</td>                                        
                                        </c:if>                                        
                                    </tr>
                                    <c:if test="${not empty cs.listActaBean}">
                                    <tr>
                                        <td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                                        </td>
                                        <td colspan="4">
                                            <table width="657" class="its7" id="tableAnom">
                                                <thead>
                                                <tr>
                                                    <th width="161">U.M.</th>
                                                    <th width="346">Monto</th>
                                                    <th width="619">Anomal&iacute;a</th>
                                                    <th width="363">Descripci&oacute;n</th>
                                                </tr>
                                                </thead>
                                                <tbody>
                                                <c:forEach items="${cs.listActaBean}" var="acta">
                                                <tr>
                                                    <td >${acta.desTipUnidMone}</td>
                                                    <td align="right"><fmt:formatNumber currencySymbol="" type="currency" value="${acta.monAnom}"/></td>
                                                    <td>${acta.desAnom}</td>
                                                    <td>${acta.txtObsv}</td>
                                                </tr>
                                                </c:forEach>                
                                                </tbody>
                                          </table>                                        </td>
                                    </tr>
                                    </c:if>
                                </table>                            </td>
                        </tr>
                        
                    </table>
                </td>
            </tr>
            <tr></tr>
            <tr></tr>
        </table>

    </td>
  </tr>
</table>
</form:form>

<div id="csDetaBove" title="Detalle de B&oacute;veda">
    <table>
        <tr>
            <td class="fondo_contenido padtop16left21">
                <table class="verdana10bazul">
                    <tr>
                        <td colspan="2" class="verdana10bazul">
                            <ul class="navlist2"><li>Detalle de B&oacute;vedas</li></ul>
                        </td>
                    </tr>
                    <tr>
                        <td height="20" colspan="2"></td>
                    </tr>
                    <tr>
                        <th align="left" width="100">B&oacute;veda: </th>
                        <td><div id="desBove"></div></td>
                    </tr>
                    <tr>
                        <td height="20" colspan="2"></td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <div id="csDetaBoveAccordion">
                                <h3 align="left"><a href="#">PROCESAMIENTO</a></h3>
                                <div align="right" style="padding:0 0 0 70;">
                                    <p>
                                        <table width="580" class="verdana10bazul">
                                            <tr>
                                                <th align="left" width="100">Dice Contener</th>
                                                <td><div id="montDiceCont"></div></td>
                                            </tr>
                                            <tr>
                                                <th align="left">Contiene</th>
                                                <td><div id="monValoProd"></div></td>
                                            </tr>
                                            <tr>
                                                <th align="left">Diferencia</th>
                                                <td><div id="monDife"></div></td>
                                            </tr>
                                            
                                            <tr>
                                                <td colspan="2"><div></div><div style="color:blue" id="boveDenoMessage">(*) Haga clic en los registros para ver el detalle</div></td>
                                            </tr>
                                            
                                            <tr>
                                                <td colspan="2">
                                                    <div id="boveDetaDiv">
                                                    <c:set var="countBoveDeta" value="0"/>
                                                    <display:table name="listBoveDeta" requestURI="/mostrarHWF3006.html"  class="its" id="boveDeta" htmlId="boveDetaTable">
                                                        <c:set var="countBoveDeta" value="${countBoveDeta+1}"/>
                                                        <display:column title="I"><div numSecu="${boveDeta.nseSecu}">${countBoveDeta}</div></display:column>
                                                        <display:column property="desResp" title="Nombre/Cod"/>
                                                        <display:column property="canSobr" title="Cant" style="text-align:right"/>
                                                        <display:column title="Dic. Contener" style="text-align:right">
                                                            <fmt:formatNumber currencySymbol="" type="currency" value="${boveDeta.montDiceCont}"/>
                                                        </display:column>
                                                        <display:column title="Contiene" style="text-align:right">
                                                            <fmt:formatNumber currencySymbol="" type="currency" value="${boveDeta.montCont}"/>
                                                        </display:column>
                                                        <display:column title="Anomalia" style="text-align:right">
                                                            <fmt:formatNumber currencySymbol="" type="currency" value="${boveDeta.montDife}"/>
                                                        </display:column>
                                                    </display:table>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2">                                                
                                                    <div id="boveDenoTableTituloDiv"></div>
                                                    <table class="its7" id="boveDenoTable">                                                        
                                                        <thead>
                                                        <tr>
                                                            <th>Tipo</th>
                                                            <th>Deno</th>
                                                            <th>Monto</th>
                                                            <th>piezas</th>
                                                        </tr>
                                                        </thead>
                                                        <tbody>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </p>
                                </div>
                                <h3 align="left"><a href="#">CUENTAS DE ABONO</a></h3>
                                <div align="right" style="padding:0 0 0 70;">
                                    <table width="580"  class="verdana10bazul">
                                            <tr>
                                                <td colspan="2">
                                                    <div id="boveAbonDiv">
                                                    <display:table name="listBoveAbon" pagesize="6" requestURI="/mostrarHWF3006.html"  class="its" id="boveAbon">
                                                        <display:column property="descTipoCta" title="Tip. Cuenta"/>
                                                        <display:column property="desTipMone" title="U.M."/>
                                                        <display:column property="codCnta" title="Nro de Cuenta"/>
                                                        <display:column property="codRefClieBco" title="Nro de Referencia"/>
                                                        <display:column title="Monto" style="text-align:right">
                                                            <fmt:formatNumber currencySymbol="" type="currency" value="${boveAbon.monCnta}"/>
                                                        </display:column>
                                                    </display:table>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                </div>
                                <c:if test="${isActiveFMC}">
                                <h3 align="left"><a href="#">CUENTAS CON FORMATO DE MAYOR CUANTIA</a></h3>
                                <div align="right" style="padding:0 0 0 70;">
                                    <table width="580"  class="verdana10bazul">
                                            <tr>
                                                <td colspan="2">
                                                    <div id="boveMyorCtiaDiv">
                                                    <display:table name="listBoveMyorCtia" pagesize="6" requestURI="/mostrarHWF3006.html"  class="its" >
                                                        <display:column property="desTipMotiRfmc" title="Tip. Motivo"/>
                                                        <display:column property="desTpUnidMone" title="U.M."/>
                                                        <display:column property="codCnta" title="Nro de Cuenta"/>
                                                        <display:column property="numDocuRemi" title="Nro de Referencia"/>
                                                        <display:column property="monCnta" title="Monto" style="text-align:right"/>
                                                    </display:table>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                </div>
                                </c:if>
                            </div>
                        </td>
                    </tr>
                </table>    
            </td>
        </tr>
    </table>
</div>
<div>